/* General Styles */
* {
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
} */

*
{
    font-family: Arial;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* ========== Layout & Container Styles ========== */
.side-bar {
    width: 238px;
    height: calc(100vh - 50px);
    position: fixed;
}

.content-width {
    width: calc(100% - 238px);
}

.content-height {
    min-height: calc(100vh - 50px);
}

.container-fluid {
    flex-grow: 1;
}

/* ========== Typography ========== */
.fonts {
    font-size: 16px;
    font-weight: 470;
}

.headings {
    font-size: 32px;
    font-weight: 700;
    color: #892068;
}

tbody {
    font-size: 1rem;
    font-weight: 470;
    line-height: 1.5;
}

/* ========== Colors ========== */
.color-white {
    color: white;
}

.font-educ {
    color: #892068;
}

.bg-educ {
    background-color: #892068;
}

.bg-white {
    background-color: white;
}

.bg-silver {
    background-color: rgb(231, 231, 231);
}

/* ========== Table & Container Heights ========== */
.min-height {
    min-height: 550px;
}

.container-max-height {
    min-height: 650px;
    max-height: 700px;
}

.table-container {
    min-height: 450px;
    height: 525px;
    max-height: 575px;
    overflow-y: auto;
}

.form-container{
    height: auto;
    width: 80%;
    max-width: 1000px;
    color: #91264c;
    border: 1px solid #91264c;
    border-radius: 0.375rem;
}

.form-container input, .form-container select{
    height: 50px;
    width: 70%;
    border-radius: 8px;
}

.form-container .row{
    margin-bottom: 3rem;
}

.form-container label{
    font-size: 1.25rem;
}

.owner-container {
    min-height: 300px;
    max-height: 400px;
}

.owner-contacts-container {
    min-height: 500px;
    max-height: 650px;
    height: 550px;
    overflow-y: auto;
}

/* ========== Borders & Shadows ========== */
.proposals:hover, .master-data:hover, .solution-templates:hover {
    background-color: #892068;
    color: white;
}

.proposal-lists:hover, 
.versions:hover,
.business-function:hover, 
.industry-sector:hover,
.country:hover,
.revenue-size:hover,
.head-count:hover,
.digital-technology:hover,
.headcount-formula:hover,
.create-solution-template:hover {
    background-color: hsla(322, 50%, 69%, 0.7);
    color: black;
}

.border-educ {
    border: 1px solid #892062;
}

.border-right {
    border-right: 1px solid #1c1c1e;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.right-shadow {
    box-shadow: .125rem 0 .25rem rgba(0, 0, 0, .075);
}

/* ========== Buttons & Interactive Elements ========== */
.button-educ {
    background-color: #892068;
    color: white;
}

.button-educ:hover {
    border: 1px solid #892062;
    background-color: white;
    color: #1c1c1e;
}

.hover-action {
    border: 1px solid #892062;
    color: #892068;
}

.hover-action:hover {
    background-color: #892068;
    color: white;
}

/* Active sidebar item */
.nav-item.active {
    background-color: hsla(322, 50%, 69%, 0.7);
}

/* Proposals "Back" Button */
#backToProposals {
    background-color: #892062 ;
    color: white ;
    border-radius: 10px;
}

/* Master Data "Back" Button */
#backToMasterData {
    background-color: #892062 ;
    color: white ;
}

/* Solution Templates "Back" Button */
#backToMain {
    background-color: #892062 ;
    color: white ;
}

.hidden{
    display: none;
}

/* ========== Navigation & Sidebar ========== */
.navigation-width {
    width: 238px;
    padding: 0;
}

/* Ensure dashboard-link is flex and centers content */
.dashboard-link {
    font-size: 16px;
    font-weight: 350;
    height: 45px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Keep text aligned left */
    gap: 10px; /* Adds space between the caret icon and text */
    border-bottom: 1px solid #892062;
    border-radius: 10px;
    cursor: pointer;
}

.nav-link{
    width: 266px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Alternative Fix: Use margin instead of gap */
.dashboard-link i {
    margin-right: 10px; /* Push icon away from text */
}


.dashboard-link a .span-header {
    margin-right: 3.5rem;
}


/* ========== Form Elements ========== */
.input-contact-details {
    border: none;
    background-color: #f2f2f2;
    color: #1c1c1e;
}

select {
    appearance: none;
    background-color: transparent;
    padding: 0.5rem;
    border: 1px solid #c58ca8;
    border-radius: 0.5rem;
    color: #660634;
    font-size: 1rem;
}

/* ========== Icons ========== */
.fa-magnifying-class, 
.fa-pen-to-square, 
.fa-eye, 
.file-button,
td .fa-trash {
    font-size: 1rem;
    height: 16px;
    width: 18px;
}

.fa-caret-right {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.fa-user {
    font-size: 30px;
    
}

.user-icon-btn {
    width: 35px;  /* Adjust width */
    height: 35px; /* Adjust height */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #892068; /* Change if needed */
    border: 1px solid #892062; /* Add border if needed */
}

.user-icon-btn i {
    font-size: 25px; /* Adjust icon size */
    color: white; /* Match branding */
}

.user-icon-btn:hover {
    background-color: #892068; /* Change if needed */
    color: white; /* Match branding */
}

/* ========== Media Queries ========== */
@media screen and (max-width: 1650px) {
    .container-max-height {
        min-height: 500px;
        max-height: 530px;
    }
    .table-container {
        min-height: 350px;
        max-height: 450px;
    }
}

@media screen and (max-width: 1150px) {
    .dashboard {
        width: 100%;
        min-height: 100px;
        max-height: 150px;
        text-align: center;
        margin-bottom: 45px;
    }
    .min-height {
        width: 100%;
    }
    .table-container {
        min-height: 225px;
        max-height: 325px;
    }
}

@media (max-width: 1080px) {
    .navbar-toggler {
        display: block;
        position: relative;
        z-index: 1050;
        margin-left: 10px;
    }
    
    #side-bar {
        position: absolute;
        top: 8%;
        left: 0;
        width: 250px;
        height: 100%;
        z-index: 1030;
        background-color: white;
        transform: translateX(-250px);
        transition: transform 0.3s ease-in-out;
    }
}

#sidebarMenu .nav-item a.nav-link {
    background-color: transparent !important;  
    width: 100%; 
}
#sidebarMenu .nav-item {
    height: 40px;
    outline: 2px solid #892062;
    outline-offset: -2px;
    position: relative;
    margin-bottom: -2px; 
    font-size: 14px;
}

/* Remove any outlines from anchor tags */
#sidebarMenu .nav-item a {
    outline: none !important; /* Force remove any outline on anchor tags */
    text-decoration: none; /* Remove underlines */
}

.archived-btn, 
.btn-outline-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    /* border-radius: 8px; */
    color: #892068;
    /* border: 1px solid #892062; */
    height: 40px;
}

.btn-outline-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px;
    color: #892068;
    border: 1px solid #892062;
}

.archived-btn:hover{
    color: #892068;
    border: 1px solid #892062;
}

.btn-outline-secondary:hover {
    background-color: #892068;
    color: #fff;
}
